home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / deleting commands bug? < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  654 b   |  [TEXT/ttxt]

  1. Subject:     deleting commands bug?
  2. Sent:        5/31/96 12:58 PM
  3. Received:    5/31/96 1:11 PM
  4. From:        Arni McKinley, motion@nbn.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. ODF team,
  9.  
  10. I have noticed that FW_CCommand::Execcute() will delete the command "this"
  11. under TRY/CATCH if the execution throws an exception. This does not seem to
  12. be the case in ::UndoIt() or ::RedoIt(). I am concerend about leaving the
  13. command in the action stack too when the undo or redo fails.
  14.  
  15. What are your thoughts? How should we be handling exceptions at these points?
  16.  
  17. Arni
  18.  
  19.